﻿using System;
using System.Collections.Generic;
using System.Text;

namespace NP.BPMReportPlatform.AuthorizationUserManager.Dtos
{
    public class PlatformManageRoleMenuTreeData
    {
        public List<RoleMenuTree> TreeData { get; set; } = new List<RoleMenuTree>();
    }

    public class RoleMenuTree
    {
        public Guid id { get; set; }

        public Guid? parentid { get; set; }

        public string name { get; set; }

        public string title { get; set; }

        public bool expand { get; set; } = true;

        public bool @checked { get; set; } = false;
        public bool isleaf { get; set; } = false;

        public List<RoleMenuTree> children { get; set; } = new List<RoleMenuTree>();
    }
}
